package com.work.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test")
public class testController {
    @RequestMapping("one.action")
    @ResponseBody
    public String testOne() {
        return "访问成功";
    }
}